package com.vf.admin.client.service;

import com.vf.admin.miaodong.entity.AppPrivilege;
import com.vf.admin.miaodong.entity.AppUser;

import java.util.List;

public interface AppPrivilegeService {

    /**
     * 获取贵族列表
     * @return
     */
    List<AppPrivilege> guizuList();

    AppPrivilege get(Integer id);

    boolean isUpLevel(AppUser user);

    /**
     * 贵族开通
     * @return
     */
    boolean guizuKaitong(AppUser user,AppPrivilege appPrivilege);


}
